package com.mesnac.filemgr.biz;

import java.util.List;


public class Node {

	private String id;
	private String text;
	private String cls;
	private String iconCls;
	private boolean expanded;
	private List<Leaf> children;
	
	
	public Node(String id,String text,boolean expanded){
		this.id = id;
		this.text = text;
		this.expanded = expanded;
		this.cls = "forum-ct";
		this.iconCls = "forum-parent";
	}


	public String getId() {
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}
	public String getText() {
		return text;
	}
	public void setText(String text) {
		this.text = text;
	}
	public String getCls() {
		return cls;
	}
	public void setCls(String cls) {
		this.cls = cls;
	}
	public String getIconCls() {
		return iconCls;
	}
	public void setIconCls(String iconCls) {
		this.iconCls = iconCls;
	}
	public boolean isExpanded() {
		return expanded;
	}
	public void setExpanded(boolean expanded) {
		this.expanded = expanded;
	}

	public List<Leaf> getChildren() {
		return children;
	}

	public void setChildren(List<Leaf> children) {
		this.children = children;
	}
}
